package crmdna.custom.isha;

import java.util.HashSet;
import java.util.Set;

import com.googlecode.objectify.annotation.Cache;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;

import crmdna.custom.isha.IshaConfig.CustomConfigProp;

@Entity @Cache
public class IshaConfigEntity {
	@Id public String key = "KEY";
	
	Set<Long> sathsangPracticesIds = new HashSet<>();
	
	CustomConfigProp toProp() {
		CustomConfigProp prop = new CustomConfigProp();
		prop.sathsangPracticeIds = sathsangPracticesIds;
		return prop;
	}
}
